<?php
/**
 * Ban user
 * ปกติจะไม่เปิดเจอหน้านี้
 * @package Member
 * @subpackage View
 * @category view
 */
require('right_bar.php');
$x['AddTitle'] .= $this->lang->line('mem.82.suspend');

/* Load CSS */
$tmp = array('a:c:table-style');
$x['AddHead'] .= $this->bee->AddCss($tmp);
unset($tmp);
// Load CSS
/* Load JavaScript
  $tmp = array('a:j:jquery.validationEngine-en', 'a:j:jquery.validationEngine', 'a:j:ui:minified:jquery.ui.core.min', 'a:j:ui:minified:jquery.ui.datepicker.min');
  $bf['AddFoot'] .= $this->bee->AddJava($tmp);
  unset($tmp);
  // Load JavaScript */

$x['AddCss'] .= '';
$bf['AddHeadJquery'] .= '';

$x['headlink'] = $this->lang->line('mem.82.suspend');

$this->admin->view('_head', $x);
unset($x);
?>
<div id="rightnow">
    <h3 class="reallynow">
        <span><?php echo $this->lang->line("mem.82.suspend"); ?></span>

        <br />
    </h3>
    <form action="<?php echo site_url('member/admin/ban_user/')?>" method="post" class="form_blue">
        <fieldset>
            <legend><?php echo $this->lang->line('mem.93.inputreason');?></legend>
            <label for="userid"><?php echo $this->lang->line('mem.100.userid');?></label>
            <input type="text" name="userid" id="userid" class="validate[required]" />
            <label for="ban_reason"><?php echo $this->lang->line('mem.85.banreason');?></label>
            <input type="text" name="ban_reason" id="ban_reason" class="validate[required,length[3,254]]" />
            <input type="submit" name="submit" value="Ban" />
        </fieldset>
    </form>
</div>


<?php
        $this->admin->view('_foot', $bf);
        unset($bf);
?>